Repository navigation
V2 OV: register a new Organization Representative from template parameters - #42
Merged
spbsoluble merged 2 commits intoNov 17, 2026
Merged
Conversation
… parameters OrgRepresentativeName/Email (together) plus optional Phone/Designation/EmployeeId send organization.useNewOrgRepresentative=true with an organizationRepresentative block on a V2 OV create. ValidateProductInfo and EnrollV2CoreAsync share one check that mirrors CERTInext's rules before any CA call: OV only (EMS-1315), a pre-vetted organization (EMS-1316), name and email together (EMS-1319/1320), one email, phone 6-15 digits (EMS-1321). Error messages name parameters, never values. V1 ignores them (warns at save); a reissue doesn't send them. The create response's organizationRepresentativeStatus is logged; pendingOrganizationRepresentative is kept raw (undocumented shape) and only its presence logged. Personal data: employeeId and the block keys join PersonalOtherFieldNames, and emails inside CA error text (detail/title/message/errorMessage) in logged bodies are now masked; an EMS-1317 error echoing the representative's email used to reach the Warning-level V2 non-success line unmasked.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
V2 OV orders can register a new Organization Representative from template parameters.
Features
OrgRepresentativeName,OrgRepresentativeEmail,OrgRepresentativePhone,OrgRepresentativeDesignation,OrgRepresentativeEmployeeId.OrganizationNumber.appliedorpending-approval).Fixes
employeeIdand the representative blocks.Testing
DcvSupport=false.Other